package com.power.services.doctors;

import java.util.List;
import java.util.Map;

import com.power.model.doctor.TiDoctors;
import com.power.model.group.TiGroup;
import com.power.services.GenericService;
import com.power.util.PageUtil;

public interface TiDoctorsService extends GenericService<TiDoctors, Integer> {

    public Map<String, Object> findAll(String name, int start, int limit, Integer hid,Integer did,Integer gid);
    
    public void saveOrUpdate(TiDoctors tiDoctors);
    
    public void delete(String ids);
    
    public String getProName(Integer code);
    public String getProId(Integer code);
    public String setDistrictName(Integer code);

	public void deleteHos(String ids);
	
	/**
	 * 通过小组查找其所有医生
	 * @param gid
	 * @return
	 */
	public List<TiDoctors> findByGroupId(Integer gid);

	public PageUtil searchDoctor(String keyword, int pageNo, int limit);
	
	public List<TiDoctors> findBySearchKeyWord(String keyword);
}
